package com.jzy.bxb.model.mongo.entity;

import java.util.Date;
import java.util.UUID;

import org.bson.types.ObjectId;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

/***
 * 建议
 *
 * @author JiangZhiYong
 * @date 2017-07-04 QQ:359135103
 */
@Entity(value = "suggest", noClassnameStored = true)
public class Suggest {

	@Id
	private String id;

	private long userId;
	/** 信息 */
	private String info;

	private Date time;
	
	

	public Suggest() {
		super();
		this.id=UUID.randomUUID().toString();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

}
